package com.szzg10.pattern.template;

public abstract class Beverage {

	public void cook() {
		boil();
		stuff();
		condiment();
		pour();
	}
	
	public void boil() {
		System.out.println("Beverage is boil!!!");
	}
	
	public abstract void stuff();
	
	public abstract void condiment();
	
	public void pour() {
		System.out.println("Beverage is pour!!!");
	}
	
	public boolean sugerhook() {
		return false;
	}
	
	public boolean powderhook() {
		return false;
	}
}
